<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

    <form>

        userName : <input type="text" name="userName" value="${user.user_name}"> <br>

        password : <input type="text" name="password" value="${user.password}"/> <br>

        <!--
            实体类中添加了@DateTimeFormat(pattern = "yyyy-MM-dd"),这里可以直接使用
        -->
        birthday : <input type="text" name="birthday" value="<spring:eval expression='user.birthday'/>"/> <br>

        <input type="submit" value="提交">
    </form>

</body>
</html>
